package com.shiyanlou.lesson10.mapper;

import java.util.List;

import com.shiyanlou.lesson10.domain.Eat;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface EatMapper {
    int insert(Eat food);

    Eat getById(int id);

    List<Eat> getAll();

    int update(Eat food);

    int delete(int id);
}
